﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CADASTRODataSet" targetNamespace="http://tempuri.org/CADASTRODataSet1.xsd" xmlns:mstns="http://tempuri.org/CADASTRODataSet1.xsd" xmlns="http://tempuri.org/CADASTRODataSet1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="FUNILConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="FUNILConnectionString (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.LUIZ.My.MySettings.GlobalReference.Default.FUNILConnectionString" Provider="Microsoft.SqlServerCe.Client.3.5" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CADASTROTableAdapter" GeneratorDataComponentClassName="CADASTROTableAdapter" Name="CADASTRO" UserDataComponentName="CADASTROTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FUNILConnectionString (MySettings)" DbObjectName="CADASTRO" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [CADASTRO] WHERE (([ID] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [CADASTRO] ([RAZAO], [TELEFONE], [CONTATO], [EMAIL], [RAMO], [END], [BAIRRO], [CIDADE], [CEP], [ULTCONTATO], [AGENDAMENTO], [NCONTATO], [VISITAAGEN], [DATAVISITA], [OPERADOR], [SITUACAO], [HISTORICO]) VALUES (@p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RAZAO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TELEFONE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CONTATO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="EMAIL" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RAMO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="END" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="BAIRRO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CIDADE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CEP" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p10" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ULTCONTATO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p11" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="AGENDAMENTO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p12" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NCONTATO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p13" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="VISITAAGEN" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p14" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DATAVISITA" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p15" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OPERADOR" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p16" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SITUACAO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p17" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="HISTORICO" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT [ID], [RAZAO], [TELEFONE], [CONTATO], [EMAIL], [RAMO], [END], [BAIRRO], [CIDADE], [CEP], [ULTCONTATO], [AGENDAMENTO], [NCONTATO], [VISITAAGEN], [DATAVISITA], [OPERADOR], [SITUACAO], [HISTORICO] FROM [CADASTRO]
WHERE SITUACAO = 'EM PROSPECÇÃO'
ORDER BY AGENDAMENTO,RAZAO</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [CADASTRO] SET [RAZAO] = @p1, [TELEFONE] = @p2, [CONTATO] = @p3, [EMAIL] = @p4, [RAMO] = @p5, [END] = @p6, [BAIRRO] = @p7, [CIDADE] = @p8, [CEP] = @p9, [ULTCONTATO] = @p10, [AGENDAMENTO] = @p11, [NCONTATO] = @p12, [VISITAAGEN] = @p13, [DATAVISITA] = @p14, [OPERADOR] = @p15, [SITUACAO] = @p16, [HISTORICO] = @p17 WHERE (([ID] = @p18))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RAZAO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TELEFONE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CONTATO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="EMAIL" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RAMO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="END" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="BAIRRO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CIDADE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CEP" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p10" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ULTCONTATO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p11" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="AGENDAMENTO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p12" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NCONTATO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p13" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="VISITAAGEN" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p14" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DATAVISITA" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p15" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OPERADOR" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p16" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SITUACAO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p17" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="HISTORICO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p18" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="RAZAO" DataSetColumn="RAZAO" />
              <Mapping SourceColumn="TELEFONE" DataSetColumn="TELEFONE" />
              <Mapping SourceColumn="CONTATO" DataSetColumn="CONTATO" />
              <Mapping SourceColumn="EMAIL" DataSetColumn="EMAIL" />
              <Mapping SourceColumn="RAMO" DataSetColumn="RAMO" />
              <Mapping SourceColumn="END" DataSetColumn="END" />
              <Mapping SourceColumn="BAIRRO" DataSetColumn="BAIRRO" />
              <Mapping SourceColumn="CIDADE" DataSetColumn="CIDADE" />
              <Mapping SourceColumn="CEP" DataSetColumn="CEP" />
              <Mapping SourceColumn="ULTCONTATO" DataSetColumn="ULTCONTATO" />
              <Mapping SourceColumn="AGENDAMENTO" DataSetColumn="AGENDAMENTO" />
              <Mapping SourceColumn="NCONTATO" DataSetColumn="NCONTATO" />
              <Mapping SourceColumn="VISITAAGEN" DataSetColumn="VISITAAGEN" />
              <Mapping SourceColumn="DATAVISITA" DataSetColumn="DATAVISITA" />
              <Mapping SourceColumn="OPERADOR" DataSetColumn="OPERADOR" />
              <Mapping SourceColumn="SITUACAO" DataSetColumn="SITUACAO" />
              <Mapping SourceColumn="HISTORICO" DataSetColumn="HISTORICO" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="FUNILConnectionString (MySettings)" DbObjectName="CADASTRO" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByAGENDAMENTO" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy10" GeneratorSourceName="FillByAGENDAMENTO" GetMethodModifier="Public" GetMethodName="GetDataBy10" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy10" UserSourceName="FillByAGENDAMENTO">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AGENDAMENTO, BAIRRO, CEP, CIDADE, CONTATO, DATAVISITA, EMAIL, [END], HISTORICO, ID, NCONTATO, OPERADOR, RAMO, RAZAO, SITUACAO, TELEFONE, ULTCONTATO, VISITAAGEN FROM CADASTRO WHERE (AGENDAMENTO = @DATA) AND SITUACAO = 'EM PROSPECÇÃO' ORDER BY AGENDAMENTO, RAZAO</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="DATA" ColumnName="AGENDAMENTO" DataSourceName="CADASTRO" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@DATA" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="AGENDAMENTO" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FUNILConnectionString (MySettings)" DbObjectName="CADASTRO" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByAGENDAOPERADOR" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="FillByAGENDAOPERADOR" GetMethodModifier="Public" GetMethodName="GetDataBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillByAGENDAOPERADOR">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AGENDAMENTO, BAIRRO, CEP, CIDADE, CONTATO, DATAVISITA, EMAIL, [END], HISTORICO, ID, NCONTATO, OPERADOR, RAMO, RAZAO, SITUACAO, TELEFONE, ULTCONTATO, VISITAAGEN FROM CADASTRO WHERE (AGENDAMENTO &lt;= @DATA) AND (OPERADOR = @OPERADOR) AND SITUACAO = 'EM PROSPECÇÃO' ORDER BY AGENDAMENTO, RAZAO</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="DATA" ColumnName="AGENDAMENTO" DataSourceName="CADASTRO" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@DATA" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="AGENDAMENTO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="OPERADOR" ColumnName="OPERADOR" DataSourceName="CADASTRO" DataTypeServer="nvarchar(200)" DbType="String" Direction="Input" ParameterName="@OPERADOR" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumn="OPERADOR" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FUNILConnectionString (MySettings)" DbObjectName="" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="FillByDATAVISITA" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy1" GeneratorSourceName="FillByDATAVISITA" GetMethodModifier="Public" GetMethodName="GetDataBy1" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="FillByDATAVISITA">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AGENDAMENTO, BAIRRO, CEP, CIDADE, CONTATO, DATAVISITA, EMAIL, [END], HISTORICO, ID, NCONTATO, OPERADOR, RAMO, RAZAO, SITUACAO, TELEFONE, ULTCONTATO, VISITAAGEN FROM CADASTRO WHERE (DATAVISITA = @DATA) ORDER BY AGENDAMENTO, RAZAO</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="DATA" ColumnName="DATAVISITA" DataSourceName="" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@DATA" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="DATAVISITA" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FUNILConnectionString (MySettings)" DbObjectName="CADASTRO" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByENTREAGENDA" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy2" GeneratorSourceName="FillByENTREAGENDA" GetMethodModifier="Public" GetMethodName="GetDataBy2" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="FillByENTREAGENDA">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AGENDAMENTO, BAIRRO, CEP, CIDADE, CONTATO, DATAVISITA, EMAIL, [END], HISTORICO, ID, NCONTATO, OPERADOR, RAMO, RAZAO, SITUACAO, TELEFONE, ULTCONTATO, VISITAAGEN FROM CADASTRO WHERE (AGENDAMENTO BETWEEN @DATA1 AND @DATA2) AND SITUACAO = 'EM PROSPECÇÃO' ORDER BY AGENDAMENTO, RAZAO</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="DATA1" ColumnName="AGENDAMENTO" DataSourceName="CADASTRO" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@DATA1" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="AGENDAMENTO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="DATA2" ColumnName="AGENDAMENTO" DataSourceName="CADASTRO" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@DATA2" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="AGENDAMENTO" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FUNILConnectionString (MySettings)" DbObjectName="" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="FillByENTREDATAVISITA" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy4" GeneratorSourceName="FillByENTREDATAVISITA" GetMethodModifier="Public" GetMethodName="GetDataBy4" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="FillByENTREDATAVISITA">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AGENDAMENTO, BAIRRO, CEP, CIDADE, CONTATO, DATAVISITA, EMAIL, [END], HISTORICO, ID, NCONTATO, OPERADOR, RAMO, RAZAO, SITUACAO, TELEFONE, ULTCONTATO, VISITAAGEN FROM CADASTRO WHERE (DATAVISITA BETWEEN @DATA1 AND @DATA2) ORDER BY AGENDAMENTO, RAZAO</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="DATA1" ColumnName="DATAVISITA" DataSourceName="" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@DATA1" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="DATAVISITA" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="DATA2" ColumnName="DATAVISITA" DataSourceName="" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@DATA2" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="DATAVISITA" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FUNILConnectionString (MySettings)" DbObjectName="CADASTRO" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByENTREULTCONTA" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy3" GeneratorSourceName="FillByENTREULTCONTA" GetMethodModifier="Public" GetMethodName="GetDataBy3" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="FillByENTREULTCONTA">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AGENDAMENTO, BAIRRO, CEP, CIDADE, CONTATO, DATAVISITA, EMAIL, [END], HISTORICO, ID, NCONTATO, OPERADOR, RAMO, RAZAO, SITUACAO, TELEFONE, ULTCONTATO, VISITAAGEN FROM CADASTRO WHERE (ULTCONTATO BETWEEN @DATA1 AND @DATA2) AND SITUACAO = 'EM PROSPECÇÃO' ORDER BY AGENDAMENTO, RAZAO</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="DATA1" ColumnName="ULTCONTATO" DataSourceName="CADASTRO" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@DATA1" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="ULTCONTATO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="DATA2" ColumnName="ULTCONTATO" DataSourceName="CADASTRO" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@DATA2" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="ULTCONTATO" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FUNILConnectionString (MySettings)" DbObjectName="CADASTRO" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByMENORAGENDA" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy9" GeneratorSourceName="FillByMENORAGENDA" GetMethodModifier="Public" GetMethodName="GetDataBy9" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy9" UserSourceName="FillByMENORAGENDA">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AGENDAMENTO, BAIRRO, CEP, CIDADE, CONTATO, DATAVISITA, EMAIL, [END], HISTORICO, ID, NCONTATO, OPERADOR, RAMO, RAZAO, SITUACAO, TELEFONE, ULTCONTATO, VISITAAGEN FROM CADASTRO WHERE (AGENDAMENTO &lt;= @DATA) AND SITUACAO = 'EM PROSPECÇÃO' ORDER BY AGENDAMENTO, RAZAO</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="DATA" ColumnName="AGENDAMENTO" DataSourceName="CADASTRO" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@DATA" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="AGENDAMENTO" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FUNILConnectionString (MySettings)" DbObjectName="CADASTRO" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByOPERADOR" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy6" GeneratorSourceName="FillByOPERADOR" GetMethodModifier="Public" GetMethodName="GetDataBy6" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy6" UserSourceName="FillByOPERADOR">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AGENDAMENTO, BAIRRO, CEP, CIDADE, CONTATO, DATAVISITA, EMAIL, [END], HISTORICO, ID, NCONTATO, OPERADOR, RAMO, RAZAO, SITUACAO, TELEFONE, ULTCONTATO, VISITAAGEN FROM CADASTRO WHERE (OPERADOR = @OPERADOR) AND SITUACAO = 'EM PROSPECÇÃO' ORDER BY AGENDAMENTO, RAZAO</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="OPERADOR" ColumnName="OPERADOR" DataSourceName="CADASTRO" DataTypeServer="nvarchar(200)" DbType="String" Direction="Input" ParameterName="@OPERADOR" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumn="OPERADOR" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FUNILConnectionString (MySettings)" DbObjectName="CADASTRO" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByPRAHJ" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy5" GeneratorSourceName="FillByPRAHJ" GetMethodModifier="Public" GetMethodName="GetDataBy5" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="FillByPRAHJ">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AGENDAMENTO, BAIRRO, CEP, CIDADE, CONTATO, DATAVISITA, EMAIL, [END], HISTORICO, ID, NCONTATO, OPERADOR, RAMO, RAZAO, SITUACAO, TELEFONE, ULTCONTATO, VISITAAGEN FROM CADASTRO WHERE (AGENDAMENTO = @DATA) AND SITUACAO = 'EM PROSPECÇÃO' ORDER BY AGENDAMENTO, RAZAO</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="DATA" ColumnName="AGENDAMENTO" DataSourceName="CADASTRO" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@DATA" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="AGENDAMENTO" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FUNILConnectionString (MySettings)" DbObjectName="" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="FillByRAZAO" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy7" GeneratorSourceName="FillByRAZAO" GetMethodModifier="Public" GetMethodName="GetDataBy7" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy7" UserSourceName="FillByRAZAO">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AGENDAMENTO, BAIRRO, CEP, CIDADE, CONTATO, DATAVISITA, EMAIL, [END], HISTORICO, ID, NCONTATO, OPERADOR, RAMO, RAZAO, SITUACAO, TELEFONE, ULTCONTATO, VISITAAGEN FROM CADASTRO WHERE (RAZAO LIKE '%' + @RAZAO + '%') ORDER BY AGENDAMENTO, RAZAO</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="RAZAO" ColumnName="RAZAO" DataSourceName="" DataTypeServer="nvarchar(300)" DbType="String" Direction="Input" ParameterName="@RAZAO" Precision="0" ProviderType="NVarChar" Scale="0" Size="300" SourceColumn="RAZAO" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FUNILConnectionString (MySettings)" DbObjectName="CADASTRO" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBySITUACAO" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy11" GeneratorSourceName="FillBySITUACAO" GetMethodModifier="Public" GetMethodName="GetDataBy11" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy11" UserSourceName="FillBySITUACAO">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT [ID], [RAZAO], [TELEFONE], [CONTATO], [EMAIL], [RAMO], [END], [BAIRRO], [CIDADE], [CEP], [ULTCONTATO], [AGENDAMENTO], [NCONTATO], [VISITAAGEN], [DATAVISITA], [OPERADOR], [SITUACAO], [HISTORICO] FROM [CADASTRO]
WHERE SITUACAO = @SITUACAO
ORDER BY AGENDAMENTO,RAZAO</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="SITUACAO" ColumnName="SITUACAO" DataSourceName="CADASTRO" DataTypeServer="nvarchar(200)" DbType="String" Direction="Input" ParameterName="@SITUACAO" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumn="SITUACAO" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FUNILConnectionString (MySettings)" DbObjectName="CADASTRO" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByULTCONTATO" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy8" GeneratorSourceName="FillByULTCONTATO" GetMethodModifier="Public" GetMethodName="GetDataBy8" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy8" UserSourceName="FillByULTCONTATO">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AGENDAMENTO, BAIRRO, CEP, CIDADE, CONTATO, DATAVISITA, EMAIL, [END], HISTORICO, ID, NCONTATO, OPERADOR, RAMO, RAZAO, SITUACAO, TELEFONE, ULTCONTATO, VISITAAGEN FROM CADASTRO WHERE (ULTCONTATO = @DATA) AND SITUACAO = 'EM PROSPECÇÃO' ORDER BY AGENDAMENTO, RAZAO</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="DATA" ColumnName="ULTCONTATO" DataSourceName="CADASTRO" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@DATA" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="ULTCONTATO" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CADASTRODataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="CADASTRODataSet" msprop:Generator_UserDSName="CADASTRODataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="CADASTRO" msprop:Generator_TableClassName="CADASTRODataTable" msprop:Generator_TableVarName="tableCADASTRO" msprop:Generator_TablePropName="CADASTRO" msprop:Generator_RowDeletingName="CADASTRORowDeleting" msprop:Generator_RowChangingName="CADASTRORowChanging" msprop:Generator_RowEvHandlerName="CADASTRORowChangeEventHandler" msprop:Generator_RowDeletedName="CADASTRORowDeleted" msprop:Generator_UserTableName="CADASTRO" msprop:Generator_RowChangedName="CADASTRORowChanged" msprop:Generator_RowEvArgName="CADASTRORowChangeEvent" msprop:Generator_RowClassName="CADASTRORow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
              <xs:element name="RAZAO" msprop:Generator_ColumnVarNameInTable="columnRAZAO" msprop:Generator_ColumnPropNameInRow="RAZAO" msprop:Generator_ColumnPropNameInTable="RAZAOColumn" msprop:Generator_UserColumnName="RAZAO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="300" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TELEFONE" msprop:Generator_ColumnVarNameInTable="columnTELEFONE" msprop:Generator_ColumnPropNameInRow="TELEFONE" msprop:Generator_ColumnPropNameInTable="TELEFONEColumn" msprop:Generator_UserColumnName="TELEFONE" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="300" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CONTATO" msprop:Generator_ColumnVarNameInTable="columnCONTATO" msprop:Generator_ColumnPropNameInRow="CONTATO" msprop:Generator_ColumnPropNameInTable="CONTATOColumn" msprop:Generator_UserColumnName="CONTATO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="300" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="EMAIL" msprop:Generator_ColumnVarNameInTable="columnEMAIL" msprop:Generator_ColumnPropNameInRow="EMAIL" msprop:Generator_ColumnPropNameInTable="EMAILColumn" msprop:Generator_UserColumnName="EMAIL" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="300" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="RAMO" msprop:Generator_ColumnVarNameInTable="columnRAMO" msprop:Generator_ColumnPropNameInRow="RAMO" msprop:Generator_ColumnPropNameInTable="RAMOColumn" msprop:Generator_UserColumnName="RAMO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="300" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="END" msprop:Generator_ColumnVarNameInTable="columnEND" msprop:Generator_ColumnPropNameInRow="_END" msprop:Generator_ColumnPropNameInTable="ENDColumn" msprop:Generator_UserColumnName="END" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="300" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="BAIRRO" msprop:Generator_ColumnVarNameInTable="columnBAIRRO" msprop:Generator_ColumnPropNameInRow="BAIRRO" msprop:Generator_ColumnPropNameInTable="BAIRROColumn" msprop:Generator_UserColumnName="BAIRRO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CIDADE" msprop:Generator_ColumnVarNameInTable="columnCIDADE" msprop:Generator_ColumnPropNameInRow="CIDADE" msprop:Generator_ColumnPropNameInTable="CIDADEColumn" msprop:Generator_UserColumnName="CIDADE" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CEP" msprop:Generator_ColumnVarNameInTable="columnCEP" msprop:Generator_ColumnPropNameInRow="CEP" msprop:Generator_ColumnPropNameInTable="CEPColumn" msprop:Generator_UserColumnName="CEP" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ULTCONTATO" msprop:Generator_ColumnVarNameInTable="columnULTCONTATO" msprop:Generator_ColumnPropNameInRow="ULTCONTATO" msprop:Generator_ColumnPropNameInTable="ULTCONTATOColumn" msprop:Generator_UserColumnName="ULTCONTATO" type="xs:dateTime" minOccurs="0" />
              <xs:element name="AGENDAMENTO" msprop:Generator_ColumnVarNameInTable="columnAGENDAMENTO" msprop:Generator_ColumnPropNameInRow="AGENDAMENTO" msprop:Generator_ColumnPropNameInTable="AGENDAMENTOColumn" msprop:Generator_UserColumnName="AGENDAMENTO" type="xs:dateTime" minOccurs="0" />
              <xs:element name="NCONTATO" msprop:Generator_ColumnVarNameInTable="columnNCONTATO" msprop:Generator_ColumnPropNameInRow="NCONTATO" msprop:Generator_ColumnPropNameInTable="NCONTATOColumn" msprop:Generator_UserColumnName="NCONTATO" type="xs:int" minOccurs="0" />
              <xs:element name="VISITAAGEN" msprop:Generator_ColumnVarNameInTable="columnVISITAAGEN" msprop:Generator_ColumnPropNameInRow="VISITAAGEN" msprop:Generator_ColumnPropNameInTable="VISITAAGENColumn" msprop:Generator_UserColumnName="VISITAAGEN" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DATAVISITA" msprop:Generator_ColumnVarNameInTable="columnDATAVISITA" msprop:Generator_ColumnPropNameInRow="DATAVISITA" msprop:Generator_ColumnPropNameInTable="DATAVISITAColumn" msprop:Generator_UserColumnName="DATAVISITA" type="xs:dateTime" minOccurs="0" />
              <xs:element name="OPERADOR" msprop:Generator_ColumnVarNameInTable="columnOPERADOR" msprop:Generator_ColumnPropNameInRow="OPERADOR" msprop:Generator_ColumnPropNameInTable="OPERADORColumn" msprop:Generator_UserColumnName="OPERADOR" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SITUACAO" msprop:Generator_ColumnVarNameInTable="columnSITUACAO" msprop:Generator_ColumnPropNameInRow="SITUACAO" msprop:Generator_ColumnPropNameInTable="SITUACAOColumn" msprop:Generator_UserColumnName="SITUACAO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="HISTORICO" msprop:Generator_ColumnVarNameInTable="columnHISTORICO" msprop:Generator_ColumnPropNameInRow="HISTORICO" msprop:Generator_ColumnPropNameInTable="HISTORICOColumn" msprop:Generator_UserColumnName="HISTORICO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:CADASTRO" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
  </xs:element>
</xs:schema>